package edu.hcmus.sow.dao;

import java.util.List;

import org.springframework.dao.DataAccessException;

import edu.hcmus.sow.domain.Topic;
import edu.hcmus.sow.domain.TopicComment;

/**
 * DAO to manage TopicComment entities.
 * 
 */
public interface TopicCommentDAO extends GenericDAO<TopicComment, Integer> {
	public List<TopicComment> getCommentsByTopic(Topic topic)throws DataAccessException;
	public int getNumberCommentOfTopic(Topic topic) throws DataAccessException;
	public int getTopicByTopicCommentID(Integer commentID) throws DataAccessException;
	
}